package com.hckjsec.law.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 案件类型对象 law_case_type
 * 
 * @author cyt
 * @date 2021-11-04
 */
public class LawCaseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单ID */
    private Long typeId;

    /** 事项编号 */
    @Excel(name = "事项编号")
    private String typeNumber;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String typeName;

    /** 父事项ID */
    @Excel(name = "父事项ID")
    private Long parentId;

    /** 说明 */
    @Excel(name = "说明")
    private String remarks;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeNumber(String typeNumber) 
    {
        this.typeNumber = typeNumber;
    }

    public String getTypeNumber() 
    {
        return typeNumber;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeNumber", getTypeNumber())
            .append("typeName", getTypeName())
            .append("parentId", getParentId())
            .append("remarks", getRemarks())
            .append("state", getState())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
